package cn.ml.chuji.oop.star;

//经纪人
public class Agent {
    private Star myStar;
    private Fans myFans;
    private Company myCompany;

    public void meeting(){
        System.out.println(myFans.getName()+"与明星"+myStar.getName()+"见面了");
    }

    public void business(){
        System.out.println(myCompany.getName()+"与明星"+myStar.getName()+"洽谈业务。");
    }


    public Star getMyStar() {
        return myStar;
    }

    public void setMyStar(Star myStar) {
        this.myStar = myStar;
    }

    public Fans getMyFans() {
        return myFans;
    }

    public void setMyFans(Fans myFans) {
        this.myFans = myFans;
    }

    public Company getMyCompany() {
        return myCompany;
    }

    public void setMyCompany(Company myCompany) {
        this.myCompany = myCompany;
    }
}
